package map.spawnStation;

import logic.SpawnLocation;

import com.jme.math.FastMath;

public class SpawnPoint extends SpawnLocation {
	
	private SpawnPointProperties props;
	
	public SpawnPoint(SpawnPointProperties props) {
		super(props.getLocation(), props.getOrientation());
		this.props = props;
	}
	
	public float getRadius() { return props.getRadius(); }
	
	public int getMaxCapturePoints() { return props.getMaxCapturePoints(); }
	
	@Override
	public float getOrientationAngle() { return props.getOrientation() * FastMath.DEG_TO_RAD; }
	
	public int getID() { return props.getID(); }
	
	public String getStationLetter() { return props.getLetter(); }
}